package be.jprojects.subscription.logic;

import java.util.ArrayList;
import java.util.List;

import be.jprojects.subscription.logic.interfaces.ICountry;
import be.jprojects.subscription.logic.interfaces.IProvince;

public class Country implements ICountry {
	private List<IProvince> provinces;
	private String id, name, iso3;
	
	private boolean fullyLoaded;
	
	public Country() {
		provinces = new ArrayList<IProvince>();
	}
	
	public boolean isFullyLoaded() {
		return fullyLoaded;
	}
	public void setFullyLoaded(boolean fullyLoaded) {
		this.fullyLoaded = fullyLoaded;
	}

	public List<IProvince> getProvinces() {
		return provinces;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getIso3() {
		return iso3;
	}
	public void setIso3(String iso3) {
		this.iso3 = iso3;
	}
	public String toString() {
		return name + ", " + iso3;
	}
	

}
